Skip to content

Add assembly case blocks#92

Merged
mattiaerre merged 4 commits intomasterfrom
add-assembly-case-blocks
Jan 7, 2019
Merged

Add assembly case blocks#92
mattiaerre merged 4 commits intomasterfrom
add-assembly-case-blocks

Conversation

@fvictorio
Copy link
Copy Markdown
Member

Depends on #91.

@fvictorio fvictorio requested a review from mattiaerre January 5, 2019 19:01
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 5, 2019

Codecov Report

Merging #92 into master will increase coverage by 7.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   86.42%   93.45%   +7.02%     
==========================================
  Files           5        5              
  Lines         221      336     +115     
  Branches       48       80      +32     
==========================================
+ Hits          191      314     +123     
+ Misses         28       22       -6     
+ Partials        2        0       -2
Impacted Files Coverage Δ
src/printer.js 93.22% <100%> (+8.77%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47eaac2...dc7ab5a. Read the comment docs.

@mattiaerre
Copy link
Copy Markdown
Member

@fvictorio can you resolve the conflicts so that I can merge? thanks

@fvictorio
Copy link
Copy Markdown
Member Author

@mattiaerre Fixed!

Copy link
Copy Markdown
Member

@mattiaerre mattiaerre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a quick comment for you @fvictorio


function caseAssembly() {
assembly {
switch value
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uhm, shall we have 2 spaces to indent the "case" inside the switch?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean that the cases should be more indented than the switch? Yeah, I agree with that, and that's what prettier does in javascript.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! thanks so much

@mattiaerre mattiaerre added this to the beta launch milestone Jan 7, 2019
Copy link
Copy Markdown
Member

@mattiaerre mattiaerre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍


function caseAssembly() {
assembly {
switch value
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! thanks so much

@mattiaerre mattiaerre merged commit 952ea35 into master Jan 7, 2019
@mattiaerre mattiaerre deleted the add-assembly-case-blocks branch January 7, 2019 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants